<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
	
	<p:fieldset>
		<h:panelGrid id="tipo_aparelho_form" columns="1" cellpadding="0" width="100%">
			<h:outputText value="#{appLabels.entidade_auditavel_att_descricao}" />
			<p:inputText label="#{appLabels.entidade_auditavel_att_descricao}" value="#{tipoAparelhoMB.modeloEdicao.descricao}" required="true" style="width:350px" />
			<h:outputText value="#{appLabels.entidade_auditavel_att_ativo}" />
			<p:selectBooleanCheckbox label="#{appLabels.entidade_auditavel_att_ativo}" value="#{tipoAparelhoMB.modeloEdicao.ativo}" /> 				
			<f:facet name="footer">
				<p:commandButton value="#{appLabels.botao_crud_save}" action="#{tipoAparelhoMB.salvarAction}" icon="saveIcon" update="form"/>
				<p:commandButton value="#{appLabels.botao_crud_cancelar}" action="#{tipoAparelhoMB.irParaPesquisa}" icon="cancelIcon" immediate="true" update="form" />
			</f:facet>
		</h:panelGrid>
	</p:fieldset>
</html>